{include file="../view/head" /}
<style>
    /*页面自定义样式*/
    .title h5,
    .titleb i {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
</style>
</head>

<body>
    {include file="../view/header" /}
    {include file="../view/sidebar" /}
    {include file="../view/right-sidebar" /}
    <!-- Start #content -->
    <div id="content">
        <!-- Start .content-wrapper -->
        <div class="content-wrapper">
            <div class="row">
                <!-- Start .row -->
                <!-- Start .page-header -->
                <div class="col-lg-12 heading hidden-xs hidden-sm">
                    <!-- Start .bredcrumb -->
                    <ul id="crumb" class="breadcrumb"></ul>
                    <!-- End .breadcrumb -->
                </div>
                <!-- End .page-header -->
            </div>
            <!-- End .row -->
            <div class="outlet">
                <!-- Start .outlet -->
                <!-- Page start here ( usual with .row ) -->
                <div class="row">
                    <div class="col-md-12">
                        <!-- col-lg-12 start here -->
                        <div class="panel-heading" style="padding: 10px 15px;">
                            <div class="tools">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <form method="get" action="#" enctype="application/x-www-form-urlencoded">
                                            <input name="uname" type="text" class="dfinput" placeholder="输入收益人手机号">
                                            &nbsp;
                                            <input type="submit" class="btn" value="搜 索" />&nbsp;
                                        </form>
                                    </tr>
                                </table>
                            </div>
                            <!-- Start .panel -->
                            <div class="panel-body">
                                <table class="table table-bordered table-hover table-striped">
                                    <thead>
                                        <tr>
                                            <th>收益人</th>
                                            <th>收益数量</th>
                                            <th>释放周期（单位：天） </th>
                                            <th>被邀请人</th>
                                            <th>日期</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        {foreach $lists as $list}
                                        <tr>
                                            <td class="typeb">{$list.uname}</td>
                                            <td class="titleb">{$list.coin}</td>
                                            <td class="titleb">{$list.release_zq}</td>
                                            <td class="titleb">{$list.from_uname}</td>
                                            <td class="titleb">{$list.time|date="Y-m-d H:i:s",###}</td>
                                        </tr>
                                        {/foreach}
                                    </tbody>
                                </table>
                                <div class="row">
                                    <div class="col-md-6">
                                        {$lists->render()}
                                    </div>
                                    <div class="col-md-6">
                                        <p>总数：{$lists->total()}</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- Page End here -->
            </div>
            <!-- End .outlet -->
        </div>
        <!-- End .content-wrapper -->
        <div class="clearfix"></div>
    </div>
    <!-- End #content -->
    {include file="../view/foot" /}
    <script>

    </script>
</body>

</html>